home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / lpmud312.tar / lpmud312 / incralloc.h < prev    next >
C/C++ Source or Header  |  1991-10-31  |  287b  |  14 lines

  1. /*
  2.  * Information for allocating a block that can grow dynamically
  3.  * using realloc. That means that no pointers should be kept into such
  4.  * an area, as it might be moved.
  5.  */
  6.  
  7. struct mem_block {
  8.     char *block;
  9.     int current_size;
  10.     int max_size;
  11. };
  12.  
  13. #define START_BLOCK_SIZE    4096
  14.